﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace P2PLib.Common.Command
{
    /// <summary>
    /// Defines the command type between client and server
    /// </summary>
    public enum CSCommandType
    {
        //Client tries to connect to server, don't actulally send any data
        Connect,

        //Server checks if the client is still online
        CheckOnline,

        //client responses to the server's check command
        CheckResponse,

        //client sends its inforatmion to the server
        ClientInfo,

        //server tells the client that a new clinet entered the network
        NewClient,

        //server tells the client that a client has left the network
        ClientDisconnect,

        //client tells the server that it's leaving the network before the client shut down
        Disconnect,

    }
}
